<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>大事件-列表页</title>
    <link rel="stylesheet" type="text/css" href="css/reset.css">
    <link rel="stylesheet" href="css/font-awesome.min.css">
    <link rel="stylesheet" href="./admin/libs/layui-v2.6.5/layui/css/layui.css">
    <link rel="stylesheet" type="text/css" href="css/jquery.pagination.css">
    <link rel="stylesheet" type="text/css" href="css/main.css">
    <script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="js/jquery.pagination.min.js"></script>
    <script src="./js/list.js"></script>
    <script src="./admin/libs/layui-v2.6.5/layui/layui.js"></script>
    <script src="./admin/js/public.js"></script>
</head>

<body>
    <div class="header">
        <a href="./index.html" class="logo fl"><img src="images/logo.png" alt="logo"></a>
        <div class="search_form fl">
            <input type="text" class="search_txt" placeholder="黑洞照片">
            <button class="search_btn"><i class="fa fa-search"></i></button>
        </div>
        <div class="link_info fr">
            <a href="#"><i class="fa fa-angle-right"></i>&nbsp;&nbsp;网站地图</a><br>
            <a href="#"><i class="fa fa-angle-right"></i>&nbsp;&nbsp;招聘信息</a>
        </div>
    </div>

    <div class="menu_con">
        <div class="menu">
            <div class="menu_collapse fl">
                <a href="javascript:;" class="level_one"><i class="fa fa-list-ul"></i>全部分类</a>
                <ul class="level_two">
                    <li class="up"></li>
                </ul>
            </div>
            <ul class="left_menu fl">
            </ul>
            <ul class="right_menu fr">
                <li><a href="#">科技专题</a></li>
                <li><a href="#">财经专题</a></li>
            </ul>
        </div>
    </div>

    <div class="main_con clearfix">
        <div class="left_con setfr">


        </div>
        <div class="right_con setfl">
            <div class="common_wrap">
                <h3><i class="fa fa-bar-chart"></i> 一周热门排行</h3>
                <ul class="content_list nima">
                </ul>
            </div>
            <div class="common_wrap">
                <h3><i class="fa fa-commenting-o"></i> 最新评论</h3>
                <ul class="content_list comment_list">
                </ul>
            </div>
            <div class="common_wrap">
                <h3><i class="fa fa-bullseye"></i> 焦点关注</h3>
                <ul class="content_list guanzhu_list">
                </ul>
            </div>
        </div>
    </div>

    <div class="footer clearfix">
        <div class="foot_link">
            <a href="#">关于我们</a>
            <span>|</span>
            <a href="#">联系我们</a>
            <span>|</span>
            <a href="#">招聘人才</a>
            <span>|</span>
            <a href="#">友情链接</a>
        </div>
        <p>CopyRight © 2019 深圳大事件信息技术股份有限公司 All Rights Reserved</p>
        <p>电话：0755-****888 粤ICP备*******8号</p>
    </div>
    <!-- 导包template -->
    <script src="./js/template-web.js"></script>
    <!-- 主体 -->
    <script id="one" type="text/html">
        <div class="list_title">
            <h3>科 技</h3>
        </div>
    {{each data v}}
    <div class="common_news_list">
        <a href="#" class="list_pic" data-id="{{v.id}}"><img src="{{v.cover}}" alt="{{v.id}}"></a>
        <h4><a href="#" data-id="{{v.id}}">{{v.title}}</a></h4>
        <p>{{v.content}} </p>
        <div class="new_info">
            <span data-id="{{v.id}}">标签：${{v.category}}&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<i class="fa fa-eye"></i>&nbsp;阅读( {{v.read}} )&nbsp;&nbsp;&nbsp;<i class="fa fa-commenting"></i>&nbsp;评论( {{v.comment}} )</span>
            <b>发布于 {{v.date}}</b>
        </div>
    </div>
    {{/each}}
    <div id="pagination" class="page"></div>
    </script>


    <!-- 左侧热蒙 -->
<script id="two" type="text/html">
{{each data v}}
{{if $index==0}}
 <li ><span class="first">{{$index+1}}</span><a href="#" data-id="{{v.id}}">{{v.title}}</a></li> 
 {{else if $index==1}}
<li><span class="second">{{$index+1}}</span><a href="#" data-id="{{v.id}}">{{v.title}}</a></li>
{{else if $index==3}}
<li><span class="third">{{$index+1}}</span><a href="#" data-id="{{v.id}}">{{v.title}}</a></li>
{{else}}
 <li><span>{{$index+1}}</span><a href="#" data-id="{{v.id}}">{{v.title}}</a></li> 

{{/if}}
{{/each}}
</script>

<!-- 焦点关注 -->
<script id="twos" type="text/html">
    {{each data v}}
    <li><a href="#">{{v.intro}}</a></li>
    {{/each}}
</script>



    <!-- 左侧评论 -->
    <script id="theer" type="text/html">
    {{each data v}}
    <li>
        <span>{{v.author[0]}}</span>
        <b><em>{{v.author}}</em> {{v.date}}说:</b>
        <strong>{{v.intro}}</strong>
    </li>
    {{/each}}
    </script>
    <!-- 头部导航栏 -->
    <script id="four" type="text/html">
{{each data v}}
<li><a href="#" data-id="{{v.id}}">{{v.name}}</a></li>
{{/each}}
    </script>
</body>

</html>